package com.xmtlxx.wms.domain.vo;

import com.xmtlxx.common.annotation.ExcelDictFormat;
import com.xmtlxx.common.convert.ExcelDictConvert;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;



/**
 * 仓库视图对象 t_store
 *
 * @author xmtlxx
 * @date 2022-08-15
 */
@Data
@ApiModel("仓库视图对象")
@ExcelIgnoreUnannotated
public class StoreVo {

    private static final long serialVersionUID = 1L;

    /**
     * 仓库ID
     */
    @ExcelProperty(value = "仓库ID")
    @ApiModelProperty("仓库ID")
    private String id;

    /**
     * 仓库名称
     */
    @ExcelProperty(value = "仓库名称")
    @ApiModelProperty("仓库名称")
    private String name;

    /**
     * 所属机构
     */
    @ApiModelProperty("所属机构")
    private Long deptId;

    @ApiModelProperty("所属机构编码")
    private String deptNo;

    /**
     * 仓管员ID
     */
    @ApiModelProperty("仓管员ID")
    private Long userId;


    /**
     * 省份
     */
    @ExcelProperty(value = "省份")
    @ApiModelProperty("省份")
    private String province;

    /**
     * 市
     */
    @ExcelProperty(value = "市")
    @ApiModelProperty("市")
    private String city;

    /**
     * 县/区
     */
    @ExcelProperty(value = "县/区")
    @ApiModelProperty("县/区")
    private String area;

    /**
     * 省代码
     */
    @ExcelProperty(value = "省代码")
    @ApiModelProperty("省代码")
    private String provinceCode;

    /**
     * 市代码
     */
    @ExcelProperty(value = "市代码")
    @ApiModelProperty("市代码")
    private String cityCode;

    /**
     * 区县代码
     */
    @ExcelProperty(value = "区县代码")
    @ApiModelProperty("区县代码")
    private String areaCode;

    /**
     * 仓库位置
     */
    @ExcelProperty(value = "仓库位置")
    @ApiModelProperty("仓库位置")
    private String address;

    /**
     * 上级ID
     */
    @ExcelProperty(value = "上级ID")
    @ApiModelProperty("上级ID")
    private String parentId;

    /**
     * 祖级列表
     */
    @ExcelProperty(value = "祖级列表")
    @ApiModelProperty("祖级列表")
    private String ancestors;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_common_status")
    @ApiModelProperty("状态")
    private String status;

    /**
     * 经度
     */
    @ExcelProperty(value = "经度")
    @ApiModelProperty("经度")
    private String lng;

    /**
     * 纬度
     */
    @ExcelProperty(value = "纬度")
    @ApiModelProperty("纬度")
    private String lat;

    /**
     * 删除标识
     */
    @ExcelProperty(value = "删除标识", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_del_flag")
    @ApiModelProperty("删除标识")
    private String delFlag;

    @ExcelProperty(value = "所属机构")
    @ApiModelProperty("所属机构")
    private String deptName;

    @ExcelProperty(value = "仓管员账号")
    @ApiModelProperty("仓管员账号")
    private String userName;

    @ExcelProperty(value = "仓管员")
    @ApiModelProperty("仓管员")
    private String nickName;

    private String  phonenumber;

    /**
     * 类型
     */
    @ApiModelProperty("类型 ")
    private Integer type;

    private String deviceId;

    @ApiModelProperty("仓库编号")
    private String storeNo;

    @ApiModelProperty("仓库代码")
    private String storeCode;

    private String areas;

    private String tel;
}
